package net.apexes.demo.codegen.ormlite.annotation.entity;

import com.j256.ormlite.field.*;
import com.j256.ormlite.table.*;
import net.apexes.demo.codegen.entity.base.OrmliteEntityBase;

/**
 * ShopTemplate. Corresponds to the database table "SHOP_TEMPLATE"
 */
@DatabaseTable(tableName = "SHOP_TEMPLATE")
public class ShopTemplate extends OrmliteEntityBase {

    private static final long serialVersionUID = 1L;

    /**
     * The columns of table "SHOP_TEMPLATE"
     */
    public interface $ extends OrmliteEntityBase.$ {

        /**
         * SHOP_ID
         */
        public static final String shopId = "SHOP_ID";

        /**
         * TEMPLATE_ID
         */
        public static final String templateId = "TEMPLATE_ID";

    }

    @DatabaseField(columnName = $.shopId, canBeNull = false)
    private String shopId;

    @DatabaseField(columnName = $.templateId, canBeNull = false)
    private String templateId;

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(super.toString());
        sb.append(",shopId=").append(shopId);
        sb.append(",templateId=").append(templateId);
        return sb.toString();
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

}

